using System;
using System.Data;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class DocGia
    {
        protected int maDocGia;
        protected string hoTen;
        protected int loaiDocGia;
        protected DateTime ngaySinh;
        protected string diaChi;
        protected string email;
        protected DateTime ngayLapThe;
        protected string maNhanVien;
        protected DateTime ngayHetHan;
        protected int tienNo;

        public int TienNo
        {
            get { return tienNo; }
            set { tienNo = value; }
        }
	
        public DateTime NgayHetHan
        {
            get { return ngayHetHan; }
            set { ngayHetHan = value; }
        }
	
        public string MaNhanVien
        {
            get { return maNhanVien; }
            set { maNhanVien = value; }
        }
	
        public DateTime NgayLapThe
        {
            get { return ngayLapThe; }
            set { ngayLapThe = value; }
        }
	
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
	
        public string DiaChi
        {
            get { return diaChi; }
            set { diaChi = value; }
        }
	
        public DateTime NgaySinh
        {
            get { return ngaySinh; }
            set { ngaySinh = value; }
        }
	
        public int LoaiDocGia
        {
            get { return loaiDocGia; }
            set { loaiDocGia = value; }
        }
	
        public string HoTen
        {
            get { return hoTen; }
            set { hoTen = value; }
        }
	
        public int MaDocGia
        {
            get { return maDocGia; }
            set { maDocGia = value; }
        }

        public DocGia() { }
        public DocGia(int mdg, string ht, int ldg, DateTime ns, string dc, string e, DateTime nlt, string mnv, DateTime nhh, int tn)
        {
            maDocGia = mdg;
            hoTen = ht;
            loaiDocGia = ldg;
            ngaySinh = ns;
            diaChi = dc;
            email = e;
            ngayLapThe = nlt;
            maNhanVien = mnv;
            ngayHetHan = nhh;
            tienNo = tn;
        }
        public DocGia(DocGia dg)
        {
            maDocGia = dg.MaDocGia;
            hoTen = dg.HoTen;
            loaiDocGia = dg.LoaiDocGia;
            ngaySinh = dg.NgaySinh;
            diaChi = dg.DiaChi;
            email = dg.Email;
            ngayLapThe = dg.NgayLapThe;
            maNhanVien = dg.MaNhanVien;
            ngayHetHan = dg.NgayHetHan;
            tienNo = dg.TienNo;
        }
    }
}
